from celery_tasks import app

@app.task
def print_msg(msg=None):
    if msg:
        print(f'hello: {msg}')
    else:
        print('hello: this is msg')
